package com.sxjh.service;

import com.sxjh.entity.UserActionLogs;
import org.aspectj.lang.ProceedingJoinPoint;

import javax.servlet.http.HttpServletRequest;

/**
 * 用户操作日志接口
 */
public interface UserActionLogsService {

  /**
   * 保存日志信息
   * @param userActionLogs
   */
  int save(UserActionLogs userActionLogs);

  /**
   * 保存日志信息
   * @param joinPoint
   * @param result   响应结果
   */
  void saveLog(ProceedingJoinPoint joinPoint, Object result, HttpServletRequest request);
}
